cmake_minimum_required(VERSION 3.12.4)

add_definitions(-DHAVE_CONFIG_H)

add_library(mad 
    src/bit.c
    src/decoder.c
    src/fixed.c
    src/frame.c
    src/huffman.c
    src/layer3.c
    src/layer12.c
    src/stream.c
    src/synth.c
    src/timer.c
    src/version.c
)

include_directories(inc)